package samoloty.view;

import javax.swing.BorderFactory;
import javax.swing.JList;
import javax.swing.plaf.basic.ComboPopup;
import javax.swing.plaf.metal.MetalComboBoxUI;

/**
 *
 * @author borysfan
 */
public class MyComboBoxUI extends MetalComboBoxUI {
    @Override
    protected ComboPopup createPopup(){
        MyComboPopup popup= new MyComboPopup(comboBox);
        popup.setBorder(BorderFactory.createLineBorder(MyColors.getWhite(), 1));
        return popup;
    }
}
